package com.example.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 小岁
 * @version 2023/10/6 22:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BossDTO {
    private Integer id;
    private String jrAccount;
    private String jrCipher;
    private String unifyCode;
    private String jrEmail;
    private String companyName;
    private String companyIntro;
    private Date setUpTime;
    private String registerLocation;
    private String companyType;
    private String employeesQuantity;
    private String legalPerson;
    private String contactPerson;
    private String jrTelephone;
    private String jrAvatar;
    private Integer runState;
    private String jrName;

    private String jrType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date runBengin;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date runOver;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date checkTime;
    private String formerName;
    private String registrationAuthority;
    private String industryInvolved;
    private String businessScope;
    private String companyAddress;
    private Integer postNum;


//    公司信息

    private Integer jrId;
    private String posName;
    private String posType;
    private String posDescription;
    private String posKeyword;
    private String workPlace;
    private Integer recruitsNum;
    private Integer payFloor;
    private Integer payUpper;
    private String background;
    private String specialty;
    private String sexDemand;
    private String expDemand;
    private String ageDemand;
    private String jobBenefits;
    private String recruitmentAgency;
    private String posTelephone;
    private String posEmail;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date publishTime;
    private Integer publishStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date publishCycle;
}
